package com.leonzx.base.entity.email;

import com.leonzx.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * @Author:chen
 * @Description:
 * @Date: 2018-07-09 14:20
 */
@Table(name = "base_mail_history")
public class MailHistory extends BaseEntity {
    @Column(name = "title")
    private String title;
    @Column(name = "sender_user_id")
    private String senderUserId;
    @Column(name = "content")
    private String content;


    /**
     * 传值
     *
     * @return
     */
    @Transient
    private String copyUserIds;//抄送人id
    @Transient
    private String copyMails;//抄送人邮箱地址
    @Transient
    private String mailUserIds;//收件人id
    @Transient
    private String mails;//收件人邮箱
    @Transient
    private String fileIds;
    @Transient
    private String name;
    @Transient
    private String mail;
    @Transient
    private String userId;
    @Transient
    private List<MailFile> mailFiles;
    @Transient
    private List<MailCopy> mailCopies;
    @Transient
    private List<MailAddressee> mailAddressees;

    public List<MailFile> getMailFiles() {
        return mailFiles;
    }

    public void setMailFiles(List<MailFile> mailFiles) {
        this.mailFiles = mailFiles;
    }

    public List<MailCopy> getMailCopies() {
        return mailCopies;
    }

    public void setMailCopies(List<MailCopy> mailCopies) {
        this.mailCopies = mailCopies;
    }

    public List<MailAddressee> getMailAddressees() {
        return mailAddressees;
    }

    public void setMailAddressees(List<MailAddressee> mailAddressees) {
        this.mailAddressees = mailAddressees;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public String getCopyUserIds() {
        return copyUserIds;
    }

    public void setCopyUserIds(String copyUserIds) {
        this.copyUserIds = copyUserIds;
    }

    public String getCopyMails() {
        return copyMails;
    }

    public void setCopyMails(String copyMails) {
        this.copyMails = copyMails;
    }

    public String getMailUserIds() {
        return mailUserIds;
    }

    public void setMailUserIds(String mailUserIds) {
        this.mailUserIds = mailUserIds;
    }

    public String getMails() {
        return mails;
    }

    public void setMails(String mails) {
        this.mails = mails;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSenderUserId() {
        return senderUserId;
    }

    public void setSenderUserId(String senderUserId) {
        this.senderUserId = senderUserId;
    }

}
